/*
 * @Author: your name
 * @Date: 2021-05-31 17:21:19
 * @LastEditTime: 2021-06-02 11:36:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \bazai_island_api\config\config.js
 */
module.exports = {
  // production
  environment: 'dev',
  database: {
    dbName: 'island',
    host: '81.71.93.230',
    port: '10025',
    user: 'root',
    password: '123456'
  },
  security: {
    secretKey: "abcdefg",
    expiresIn: 60 * 60 * 24 * 7
  },
  wx: {
    appId: 'wx16f10f1373c8327f',
    appSecret: 'c0b4a6ff36face447126fc99b6842d03',
    loginUrl: 'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code'
  },
  yushu:{
    detailUrl:'http://t.talelin.com/v2/book/id/%s',
    keywordUrl:'http://t.talelin.com/v2/book/search?q=%s&count=%s&start=%s&summary=%s'
  },
  host:'http://localhost:3000/'
}
